Transient - Keyword


(Tap the post to see more)


"transient" is a Java keyword that is used to indicate that a field should not be serialized when an object is transformed into a stream of bytes.

When an object is serialized, its non-transient fields are converted into a byte stream that can be written to a file or sent over a network. 

However, transient fields are not included in the serialization process and their values are not saved. 




 

← Back Next →

Comments

Popular posts from this blog

Wrapper Class

Information Security & Essential Terminology

Information Security Threat Categories